package com.i18n;



import java.text.DateFormat;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.format.TextStyle;
import java.util.Locale;

public class DateFomat {
    public static void main(String[] args) {
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter
                .ofLocalizedDateTime(FormatStyle.FULL)
                .withLocale(Locale.forLanguageTag("ko-KR"));
        System.out.println(dateTimeFormatter.format(ZonedDateTime.now()));


        LocalDateTime now = LocalDateTime.now();

        now.getMonth().getDisplayName(TextStyle.FULL,Locale.KOREA);


        System.out.println(now.getMonth().getDisplayName(TextStyle.FULL,Locale.KOREA));

    }
}
